package com.wst.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiong
 * @since 2025-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShardingDemo对象", description="")
@TableName("sharding_demo")
public class ShardingDemo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID) // 使用自定义主键生成策略
    private Long id;

    private String name;

    private Date createdate;



}
